package list2;

import practice.MyList;

public class Test {
    public static void main(String[] args) {
        MysingleList list = new MysingleList();
        list.addLast( 3);
        list.addLast( 3);
        list.addLast( 5);
        list.addLast( 6);
        list.addLast( 3);
        list.addFirst(  4);
        list.addFirst( 3 );
        list.addFirst( 4);
        list.display();
        System.out.println();
        list .remove( 3);
        list.display();
        System.out.println();
        list.removeAIIKey(4);
        list.display();
    }
}
